Fixed debug mode.