fix category convertor