issue: fix #374
Merge pull request #375 from kjkmadness/bugfix

issue: fix #374