correction on index truncate