other small bug in pagination fixed