clean up submit.