fix minor bugs in sent object