change a warning message to a debug message