Mod tpg_fixes.