optimize get cluster category