fixed memory leaks in weather classes