general code cleansing in cloud_vms views