Fix console submit