fix pagination range #224