fixed crash that occurred w/o internet

crash fix