fix partitions