fix bug in vm_test.sh