Merge pull request #80 from kern3020/master

fix for issue #79
fix syntax error