fix IE errors