Fixed crash when not online