clear RI after send