trying to solve problems with send_done()