fixed bug in tpg partrepair
Merge branch 'dev'