Fixed attributecontrol generator.
Fixed misspelling of attribute control