fixed bug with no internet