remove duplicated resource