fix references to location manager.