make sure functions and filter are set