make params consistent in set key