fix bug on IE