remove extra required attribute from filds