added rest handling for Filter