Remove console.log, fix typo