fix the cat init bug