Fixed error if no internet.