remove duplicate resource