fix bug on IE 8