fix bug, enable multiple sets of params