bug fix for weather input