fixed raise ValError in hashSet#remove