fixed compatibility issue with IE10