Fixed debug(I hope)