Fixing the view page for admin.