fix the cat client bug