fixed catagroy bug