Solving problem w/ commit()