removes syntaxes