Fixed syntax errors found in testing system integration