Fix code errors.
Merge pull request #26 from Thinkscape/patch-1

Fix code errors.