fix issue displaying identifier columns at the correct index and merging data into the appropriate row