fixed bug: use the correct ID column

use the correct idName column