fixing null and undefined lookup, fixes #397

Issue #397.
use `void 0` since `undefined` can be defined :-/