fix catogrey bug