Fix location error