fix for #168
Merge pull request #205 from stepasite/master

fix for #168