fix console.log to ease setting breakpoints