diff --git a/xCAT-server/lib/xcat/plugins/kvm.pm b/xCAT-server/lib/xcat/plugins/kvm.pm
index e73822f3b..43d21a821 100644
--- a/xCAT-server/lib/xcat/plugins/kvm.pm
+++ b/xCAT-server/lib/xcat/plugins/kvm.pm
@@ -675,7 +675,7 @@ sub getcons {
} elsif ($type eq "vid") {
my $tpasswd=genpassword(10);
my $validto=POSIX::strftime("%Y-%m-%dT%H:%M:%S",gmtime(time()+300));
- $dom->update_device("");
+ $dom->update_device("");
$consdata->{password}=$tpasswd;
$consdata->{server}=$hyper;
return $consdata;