Fixes duplicate resource name