date default settings, bug fix.