Fix on submit.