fix a bug for AddTitleAndSubtitle