fixes #388 (arity of op functions)