clean up xyntax