fix crash in photo stories