fix bug, check tags instead of slug