added removing custom fields from view when they can be viewed