Fixing a defect related to partitioning