feat(truncate): create filter
fix(truncateFilter): fix preserve issue