fixing console.log