fixed the bug reported by @andresriancho, https://github.com/bedirhan/wivet/issues/1