fixed export activity crash when photo array was null