fixed duplicate resource declaration error