fix crash publishing photo stories