Fixing IE errors