bugfix for submit button inputs