Fixed debug issue