reorganize head