Added checkall and pagination fix