Fixed debug reporting