fix filter bugs caused by iterator