Removing duplication under resource