fix refresh of params