fixed the vm random test