small bugfix in parser (the attributes have their name from their kind)