fix winston bug