Add chopSuffix util
add suffix filter