more fixes for setParams()