fixed the submit