finish render the view