replaced warning message with icon