refactor dropdown list filters