view data bug fixess