Fixed HEAD issues