replace category to tag