Corrected typo in console.log