use autocommit to avoid weird effects