fix category id bug