correction on value kind test