fixed crash when location services disabled
Merge pull request #2 from sweetiepiggy/cmx

fixed crash when location services disabled