fix paginate-bug for hosts