finish truncate plugin