Fix head creation