Fixed the wrong column mapping for the rowIdx