fix crash on startup when no net connection