revert txout api change