Fixed the bug when getting weather but it crashes the app and some debugging lines