cache agent bug fix