fixed crash on startup if no internet conectivity is available