fixes broken due date issue