Fix IE errors