small bug in pagination fixed