fixed due date bug

author: nhhughes