fixed issue with pagination in admin view