Fixed debug-mode