debug merging rows