fix bug in orderedset remove