take out unused pages