fix default date field init