ensuring end_date is on graph