correct padding
fix setting duedate for lending