Remove duplicate resources