fixed a location error