Fixed error in Photos