tdk: clean up debug output