fixes autoCommit option