app won't crash if not connected to internet