current params missing `$` and duplicates should be removed