Fix error generating HTML from evaluation