replace delete with truncate