fixed autocommit to commit every 100 inserts