Fix location-manager.