minor fixes in views