correct handling for funcCallExpr

correct the handling of zero-ary function symbol and logical variables.