Logger fix