fixed syntax error that was caught by unit test.