fix for bad response from flickr for photo gallery