fixed the tpc