remove misplaced filter check.