fix a bug in partition list