add required name attribute