document date is nullable now