add a warning for notification