performance fix for path cache management