fixed FOR into paramsToMapsArray