custom report csv fix