fix support for repeated parameters