bug fix

It's not always the case we could resolve a function name
from an unresolved call expr --- return NULL rather than
crash