Fix : typo and commented debug code