remove duplicate figures