Fix some problems on internet explorer