fix console.log