Fixes console.log invocation