some update for parse bbcode