Fix weather app crashes