fixed RowKeyUtil functions