fix #145
Merge pull request #163 from hhatto/fix_145

fix #145