[BUGFIX] core category api has a bug, workaround