modify db_iter