fix problem of submit.  change id and name to be the same on inputs