fix bug that kept app from starting when offline