fix coding style
support syntax only mode