use lower() in the debug message too