fixed issue #326
Merge pull request #428 from safiyu/issue

fixed issue #326