changing notifications to warning