fix debugLog reference