csv export for analysis, corrected error pages