bugfix: wrong variables in logger