fix pagination in scheduler