solution of date-names problems in plot 2