bug fix in weather script