fix for app crash on push notification