fixed issue with winston