Fixed view error on admin page.