Fixing syntaxMode prop.