remove resource tag duplication