small typo fix and remove of console.log