bug: crash when showing a single photo