Fix to compatible with IE