fix index ie can't close