fix b92b6da5cbec3930f8389d1715153784c4c8d628
- fixed hang when adding cache