fixed louvain issues