merging index issue