correcting bug related with datacaches