doSubmission fix