fix crash on iPad/iOS8 when click share button