small optimization in sender