bugfix
Merge pull request #1 from frrad/master

Fixed a bug