fix weather array generated