logger bugfix :)