fix a bug when combined with taglist