fix invalid resource attribute name