autocommit fix