Fix new session creation.