fix reset on sending