remove redundant code from truncation