model: fix for modifying weather attributes