bugfix for logger output