HowTo remove a element from a set if this is present?