fixed minor bugs when launching vms in cmd3