photos bug view fix