fixed forgotten change in create_vm()