truncate fix