simplify auto-commit