minor fixes to view