fix log to support ie8