fixed a case when no related tags.