[feature] first draft on combined tagname and classname reducer
[fix] some rare bugs
[lable] update the state labels