modify view to render correctly