Fix HEAD issues.