fixing the submit