extract paginator directive