motify the commit avoid some sql query errors.