made corrections to the uniq() and union() methods