fix a null pointer if you had no locations posted to the app yet