check defs are undefined