Minor fixes in notifications and permission errors #478