remove unneeded uniq in scripts