fixes html escaping & load file title issue