Fixing bugs in ie 10