fix some debug-level output