Photo bugfix