remove useless duplicate resource