debug -> winston, minor changes