solve the partition list problem.