merge index head