fix #317 wrong scope when calling simple functions (binary operator)