add iterator for tinyimages and fixed sou issues