handle duedate