fixed bad logger variable