handling dynamic callback arity
0.7.2