fix elasticsearch old cache issue