fixng partitionid issue