fix syntax error in latest pull request (#227)