Fix extend

Bring back the initial extend
Remove the extend that only merges 1 element with an empty one