switch autocommit