fixed subcluster func.