Error in merging