remove redundant page classes