Fix "head" problem