fix apple push notification bug