fixed bug with Logger plugin