bug fix to render view for home controller