Fix the end date