fixed syntax error when calling camelCase function