test direct connection
fix tag propagation in avg_ff
exit case
...
portability cleanup