permissions fix for notifications