fix warning; add length to irlparams so we don't need strlen