fixed bug while fetching the forecast for weather