removed distrType email from input params, cause it produce MAC error