fixed record count on pagination