add default value for start and end date.