fix bug in send_date