remove useless pages