fix cat - bug