some typo fixes
Merge pull request #281 from lancedikson/typo

some typo fixes
fix array's closing bracket