pagination bug squashed