fix the RAM cache