uniq fixed

works as intended, tested