Fixed typo and forgotten DEBUG flag