only set datetime default if default is set