[core]Clean up debug message some more.