bugfix to autoconvert to data type of idValue