fix bugs in get favorite tags