remove [ { in parser