fix a typo giving a syntax error

Forgot to do a pull request earlier - looks like the issue is still present in the current master branch.