Fix bugs of creating Submit record and submission history.