denoiseprofile: really fix legacy_params