fix ie8 console log error