Fixing bugs in IE