fix faulty session init while offline