fix error: IE8 console.log doesn't support the apply or call methods.