Remove unnecessary map value on uniq()