avoiding crash when weather data is not populated