COMMON: fix NPE evaluating invalid code