Fix bug len on paginate, ref #65