fix #266
Merge pull request #267 from hippasus/master

fix #266