"location is not defined"