correct the location