fix return value. run community detections.