fixing push notification bug