correct checking for valuetype with respect to itemdomains now