in the future, debug BEFORE release.. fixed get-logger-var method