exception handle only if the vm will be create