removes unused elements from loan profile page, hides fields that are empty