Fixed debugging mode

Some of the debugging information was displayed in normal mode.