fix countries controller paginate