Fix syntax error

Not sure why I didn't find this in previous testing :/
Merge pull request #186 from dirkmueller/saschpe_bugfixes

Fix syntax error