Fixed a couple of minor syntax errors.
Merge pull request #1342 from dsissitka/patch-4

Fixed a couple of minor syntax errors.