Fixed autocommit issue.