bugfix: map_context->ptr must be nullify in no-cache path.
fix conflict