cleanup duplicate resources