added parameter check in generation of parameters in action calls