handling dynamic callback arity
0.3.2