typo fixes and console.log removals