minor fix for logger