function call of SubmitController fixed