fixed bug in tpg partrepair
Merge pull request #230 from nZEDb/dev

fixed bug in tpg partrepair