fix issue #196
Merge pull request #198 from thtuerk/master

fix issue #196