winston error fixed