fixing namespaces
fix links
fixed the flowcount function