filter pages based on phase