fixing error head merge