(fix) fixed bug in core cache adapters