Fixing up the photo with timeout issue