Truncate node issue

Can you show more of the surrounding code?