remove redundant figures