fixed console.log