prepare filter routes