corrections to daily_plot1.R