issues with file paths in resultsPage