replace confusing warning message with a debug one