Fixed the prototype for callSubmit()