fixed bug in IE