Fixed VM creation.