End date fix