prevent crash when computer is offline