fixed some bugs with user location services.