add filter to terms