Bug fix for home view.