Remove unncessary pages