end date fixes