fixed odd HEAD lines