fixed annoying bad-syntax-function-call which caused compilation errors