Fixes output of debug information