works out one pagination issue