Fix category id