modify paginator, now donot dependency spine