fix cat id ref