Fixing bug in pull request #14
Merge pull request #19 from html/pull-14-fix

Fixing bug in pull request #14