fix bug with IE10.