null bugfix in notifications