Fixed debug code whoops