Fix weather plugin bug