may have found the tcp problem, it was lodged in the way ema_delay was calculated.