Fix duplicate resource declaration