fixed #6
Merge pull request #7 from shibukawa/issue6

fixed #6