Fix using wrong param.