Wrong automatic merging