fixed tpc stuff