Change the logic that the head is printed.