fixing crash when no internet connection. unfinished work