fix TPCMasterHandler