use a default date instead of null