add iterator to list, fix some debug info.