Fixed debug error