fix variadic fn handling