fix bugs in ie