fix bug on run/edit vm in nc side.