merging problem