fix category/type naming issue