modify to fix ie8