flatten parameter.