fix bug with IE8 + IE9