all trimming debug output in #ifdef DEBUG