bug with printing cat number

bug fix