fixed the plot by date on the x axis