applied @itchyny patch (ref: #15)