fix bugs in ie8