Remove stray HEAD lines