remove unnessary pages