fixed some of the errors introduced by fiddling with the weather