fixed a bug in `list_iterator' and made progress on random links