fixed a couple of syntax errors
Merge pull request #1 from scottbw/master

fixed a couple of syntax errors