228 fix
Merge pull request #229 from gavrix/bugfix

#228 fix