remove duplicated resources