fix __RUN_MEM_SAFE_CHECK