handle some problem with IE10 in surface, and some small bugs