Really fix the number of vms problem