fix end date