fixed a few syntax errors.  I can't believe vcs didn't capture them..