fix for ie console.log error