fix head element.