Current location error bugfix