fix end date is not set properly