fixed null pointer exception when location services is disabled