fix log problem in IE