fixed deduping to ignore case and trailing space