fixed bug for cache
ready to solve:FATAL ERROR: CALL_AND_RETRY_2 Allocation failed - process out of memory