Log to bug fix
Fix bug: #26
Merge pull request #30 from otiai10/ws/bug-fix

Ws/bug fix