Typo, useless code, compilation issue with debug