fixed accidental logger globals