refine isdnc check