fixed typo for console.log