fix bug with making daily scheduled reports