fix truncate filter