fixed Logger use