fix incorrect ordering of member variables in Head