make sure self.mod_name is set during regtest run