iterator, bugs