add name attr to hidden field