remove unnecessary code in console.submit, add a TODO to put in a proper parser