fixed bug when found an empty cluster