fixed bug in vdi selection