fixed issue 13
Merge pull request #14 from ribot/fix_issue_13

fixed issue 13