Revert "fix problem with DEBUG_LEVEL > 0"

This reverts commit 4b6eff97c2af38becc75996c0db99e5e6b083679.