Fixed: correct DEBUG conditional usage