modify the cat reset bug