fixed multi-tagging bug