remove duplicate resource entry