fix bugs of sintaxis