check for undef'd ID var