Fix some problem with params.