fix a bug with cache purging