hotfix: convert the xcri-cap to a string before caching