small fix pagination