added null default for date time types