Attempting to fix a bug in the photos