modified Html file to proper index