fix cache put bug
Merge branch 'cache-fix'