bugfix: bad console.log