fixed createSession