added truncate filter