fix sendonly/recvonly mixup