Fixed the cat crash