Fix function arity