Fixed issues causing Syntax errors.