fix a bug in IE