tri ok but not with pagination