Fixed some minor bugs in views.