remove extra pages