finish render part,but the iterator become unusable when erase something...need fix