__iter__ bugfix: thanks to http_home@163.com