Fixed display errors in view