Fixed console.log to trace