put required attrib back