typo and console.log tweaks