set autocommit to true