fix bug in IE