fixed startup problem without a session