resolve the bug for getting push notifications, now its working