fix to clustering coefficient