fixing order of how the VMs cache should be used