simplify mode menu filtering