remove dup ruby