deleted some unnecessary properties from view