Fix error with winston