merge same path head