rid of redundant pagpes