fix the function about flickr.