Fixing problem with the submit of