Removing some spelling mistakes and console.log