Fix submitting: forgot to remove the leaving warning on submit