fixed bug in GenPart.xml