fixed syntax error introduced by pull request #322