change an alert to a warning