lib: fix #6
0.2.7
Merge pull request #1 from indutny/master

Update