modify truncate