fix random cat generation