fixed memoryoperation problem