Fix issue with num_cs