minor changes to location manager