fixed pagination control to take initial data on select