fix bug with sending cancelation messages