fix some format bug in new parser