create truncate filter