fixed the view issue