fix category in tag