support undefined in subcalls