better compatibility on IE8