fix category errors