Fix errors on weird headers.