fixed issue #1 with undefined winston object