fix: should return perPage and total field