fixing sobjecttype memory cache management