update code to support dataItemVerify return null or undefined