fix ramcache issue