fixed listing tag logic