fixed error

fixed error on console.log line.