fix some syntax bug