fix HTML type and page title