fix workaround for addtxes.