remove space from dupe checking