Fix another bug in console.