fix sender bug