fixed issue with Logger