Fixed debug mode output