Finialize for submit.