further code cleaned VMs refresh