fix call params for generation