updated and fixed the <pre> issue