fixed rendering of view.