fixed adding attributes in bulk

this keyword was missing causing attributes to be added to map in method argument instead of private map in class
workaround until fix: using attribute(String name, String value) method instead