[fix] wrong var name in tag.py