fix create_vm error
fix script errors