fix report.js