updated getVhostPreview