fix accidental memory write bug in TSB/TRB.