Fixes some SyntaxErrors