Commit session class fix