so that the app doesn't crash when location not found and you click the sidebar