fixed location error