fix insert_rows.