fix in resultsview.js