restore pagination functionality in admin interface