fix for set iterator