fix logger stream