general code cleansing in cloud and userprofile views