fix syntax and parser.