fix insert daily report into db