Fixed crush if there is no internet connection