fix for set remove operation