correction for writing the html header