fixed bug with vmname