fix weather crash