minor improvements to view