Fixed compatibility issue with IE

- Fixed compatibility issue with IE