fix the session