fixed auto pep to html