bugfix, don't crash if it's not connectect to internet