fix malformed attribute name