modify activeadmin to work pagination