fix ie8 on xp crash